package top.tangyh.lamp.care.service;

import top.tangyh.basic.base.service.SuperService;
import top.tangyh.lamp.care.entity.BDevBrandType;
import top.tangyh.lamp.care.entity.BEquipmentBrand;
import top.tangyh.lamp.care.vo.query.DevBrandTypeSearchVo;
import top.tangyh.lamp.care.vo.result.DevBrandTypeDTO;
import top.tangyh.lamp.care.vo.result.EquipmentBrandDto;
import top.tangyh.lamp.care.vo.result.PageOutputDTO;
import top.tangyh.lamp.care.vo.save.BDevBrandTypeSaveVO;
import top.tangyh.lamp.care.vo.update.BDevBrandTypeUpdateVO;
import top.tangyh.lamp.care.vo.result.BDevBrandTypeResultVO;
import top.tangyh.lamp.care.vo.query.BDevBrandTypePageQuery;

import java.util.List;


/**
 * <p>
 * 业务接口
 * 设备品牌型号表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 16:42:41
 * @create [2024-07-15 16:42:41] [zqb] [代码生成器生成]
 */
public interface BDevBrandTypeService extends SuperService<Long, BDevBrandType> {

    PageOutputDTO<DevBrandTypeDTO> queryPage(DevBrandTypeSearchVo query);

    boolean saveBrandAndBrandType(EquipmentBrandDto dto);

    int countOfBrandTypeCode(int saveOrUpdate, String typeCode, Long id);

    void updateBrandAndBrandType(EquipmentBrandDto dto, BEquipmentBrand po);


    int deleteByBrandId(Long brandId);
//    int updateByIdList(List<Long> ids);
}


